package swing.admin.common;

import javax.swing.*;
import java.awt.*;

public class BaseFrame extends JFrame {

    public BaseFrame() throws HeadlessException {
        this.setTitle(Constant.Window.TITLE);
        this.setSize(Constant.Window.DEFAULT_WIDTH,Constant.Window.DEFAULT_HEIGHT);
        this.setResizable(false);
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        this.setLocationRelativeTo(null);
    }
}
